package io.renren.modules.dangan.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.dangan.dao.TNzyxmDao;
import io.renren.modules.dangan.entity.TNzyxmEntity;
import io.renren.modules.dangan.service.TNzyxmService;


@Service("tNzyxmService")
public class TNzyxmServiceImpl extends ServiceImpl<TNzyxmDao, TNzyxmEntity> implements TNzyxmService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TNzyxmEntity> page = this.page(
                new Query<TNzyxmEntity>().getPage(params),
                new QueryWrapper<TNzyxmEntity>()
        );

        return new PageUtils(page);
    }

}
